home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / antlr.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  3KB  |  103 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3.  
  4. <!--
  5.         This mode file describes the ANTLR syntax definition language.
  6.         It is derived from and tested with the ANTLR syntax rules specified in
  7.         antlr.g included with the ANTLR distribution.
  8.         
  9.         Portions of this file from java.xml.
  10.         
  11.         Author: Brant Gurganus <brantgurga@users.sourceforge.net>
  12. -->
  13. <MODE>
  14.         <PROPS>
  15.                 <PROPERTY NAME="commentStart" VALUE="/*" />
  16.                 <PROPERTY NAME="commentEnd" VALUE="*/" />
  17.                 <PROPERTY NAME="lineComment" VALUE="//" />
  18.                 <PROPERTY NAME="wordBreakChars" VALUE="" />
  19.         </PROPS>
  20.         <RULES>
  21.         <SPAN TYPE="COMMENT2" DELEGATE="java::JAVADOC">
  22.             <BEGIN>/**</BEGIN>
  23.             <END>*/</END>
  24.         </SPAN>
  25.                 <SPAN TYPE="COMMENT1">
  26.                         <BEGIN>/*</BEGIN>
  27.                         <END>*/</END>
  28.                 </SPAN>
  29.                 <EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
  30.                 <SPAN TYPE="LITERAL1" ESCAPE="\">
  31.                         <BEGIN>"</BEGIN>
  32.                         <END>"</END>
  33.                 </SPAN>
  34.                 <SPAN TYPE="LITERAL1" ESCAPE="\">
  35.                         <BEGIN>'</BEGIN>
  36.                         <END>'</END>
  37.                 </SPAN>
  38.                 <SEQ TYPE="OPERATOR">|</SEQ>
  39.                 <SEQ TYPE="OPERATOR">:</SEQ>
  40.                 <KEYWORDS>
  41.                         <KEYWORD3>header</KEYWORD3>
  42.                         <KEYWORD3>options</KEYWORD3>
  43.                         <KEYWORD3>tokens</KEYWORD3>
  44.                         <KEYWORD1>abstract</KEYWORD1>
  45.             <KEYWORD1>break</KEYWORD1>
  46.             <KEYWORD1>case</KEYWORD1>
  47.             <KEYWORD1>catch</KEYWORD1>
  48.             <KEYWORD1>continue</KEYWORD1>
  49.             <KEYWORD1>default</KEYWORD1>
  50.             <KEYWORD1>do</KEYWORD1>
  51.             <KEYWORD1>else</KEYWORD1>
  52.             <KEYWORD1>extends</KEYWORD1>
  53.             <KEYWORD1>final</KEYWORD1>
  54.             <KEYWORD1>finally</KEYWORD1>
  55.             <KEYWORD1>for</KEYWORD1>
  56.             <KEYWORD1>if</KEYWORD1>
  57.             <KEYWORD1>implements</KEYWORD1>
  58.             <KEYWORD1>instanceof</KEYWORD1>
  59.             <KEYWORD1>native</KEYWORD1>
  60.             <KEYWORD1>new</KEYWORD1>
  61.             <KEYWORD1>private</KEYWORD1>
  62.             <KEYWORD1>protected</KEYWORD1>
  63.             <KEYWORD1>public</KEYWORD1>
  64.             <KEYWORD1>return</KEYWORD1>
  65.             <KEYWORD1>static</KEYWORD1>
  66.             <KEYWORD1>switch</KEYWORD1>
  67.             <KEYWORD1>synchronized</KEYWORD1>
  68.             <KEYWORD1>throw</KEYWORD1>
  69.             <KEYWORD1>throws</KEYWORD1>
  70.             <KEYWORD1>transient</KEYWORD1>
  71.             <KEYWORD1>try</KEYWORD1>
  72.             <KEYWORD1>volatile</KEYWORD1>
  73.             <KEYWORD1>while</KEYWORD1>
  74.             <KEYWORD1>package</KEYWORD1>
  75.             <KEYWORD1>import</KEYWORD1>
  76.  
  77.             <KEYWORD2>boolean</KEYWORD2>
  78.             <KEYWORD2>byte</KEYWORD2>
  79.             <KEYWORD2>char</KEYWORD2>
  80.             <KEYWORD2>class</KEYWORD2>
  81.             <KEYWORD2>double</KEYWORD2>
  82.             <KEYWORD2>float</KEYWORD2>
  83.             <KEYWORD2>int</KEYWORD2>
  84.             <KEYWORD2>interface</KEYWORD2>
  85.             <KEYWORD2>long</KEYWORD2>
  86.             <KEYWORD2>short</KEYWORD2>
  87.             <KEYWORD2>void</KEYWORD2>
  88.  
  89.             <FUNCTION>assert</FUNCTION>
  90.             <KEYWORD1>strictfp</KEYWORD1>
  91.  
  92.             <LITERAL2>false</LITERAL2>
  93.             <LITERAL2>null</LITERAL2>
  94.             <LITERAL2>super</LITERAL2>
  95.             <LITERAL2>this</LITERAL2>
  96.             <LITERAL2>true</LITERAL2>
  97.  
  98.             <INVALID>goto</INVALID>
  99.             <INVALID>const</INVALID>
  100.                 </KEYWORDS>
  101.     </RULES>
  102. </MODE>
  103.